<%@page contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<jsp:include page="/includes/header.jsp" />
<jsp:include page="/includes/column_left_email.jsp" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<section>
<h1>使用邮箱加入会员</h1>
<p>如果你这样做，我们将会在有新品及特价优惠时向你发送邮箱通知！</p>

<p><i>${message}</i></p>

<form action="<c:url value='/user/subscribeToEmail'/>" method="post">
    <label>邮箱</label>
    <input type="email" name="email" required><br>
    <label>姓氏</label>
    <input type="text" name="firstName" required><br>
    <label>名称</label>
    <input type="text" name="lastName" required><br>
    <label>注册</label>
    <input type="submit" value="马上加入" id="submit">
</form>

</section>

<jsp:include page="/includes/column_right_newsForEmailAndCustomerService.jsp" />
<jsp:include page="/includes/footer.jsp" />